package com.manage.service;

import java.util.List;

import com.manage.po.Device;
import com.manage.util.PagerModel;


public interface IDeviceService {
	
	public Device getDeviceById(String deviceid);
	public void merge(Device device);
	public PagerModel getDeviceById(String deviceid,int pageno,int pagesize);
	public void save(Device device);
	public void save(List<Device>deviceList);
	public void update(Device device);
	public void delete(String deviceid);
	public PagerModel search(String deviceid,String assetnumber,String devicetype,String roomID,int pageno,int pagesize);
	
	public Device TestHql(String deviceid);
	public Device TestHql(String...param);
	
	public List<Device> findAll();
	//批量删除
	public void batchDelete(String[] ids);

	/*
	public OrganInfo TestHql(String orgid);
	
	public OrganInfo TestHql(String...param);
	*/
	
	

}
